package leetcode.code2092;

import java.util.List;

import leetcode.IDebug;
import leetcode.helper.HelpDebug;

public abstract class Solution2092 implements IDebug {

	public abstract List<Integer> findAllPeople(int n, int[][] meetings, int firstPerson);

	@Override
	public void debug1() {
		List<Integer> e = HelpDebug.str2intlist("[0,1,2,3,5]");
		HelpDebug.compare(e, this.findAllPeople(6, HelpDebug.str2array1("[[1,2,5],[2,3,8],[1,5,10]]"), 1));
	}

	@Override
	public void debug2() {
		List<Integer> e = HelpDebug.str2intlist("[0,1,3]");
		HelpDebug.compare(e, this.findAllPeople(4, HelpDebug.str2array1("[[3,1,3],[1,2,2],[0,3,3]]"), 3));
	}

	@Override
	public void debug3() {
		List<Integer> e = HelpDebug.str2intlist("[0,1,2,3,4]");
		HelpDebug.compare(e, this.findAllPeople(5, HelpDebug.str2array1("[[3,4,2],[1,2,1],[2,3,1]]"), 1));
	}

	@Override
	public void debug4() {
		List<Integer> e = HelpDebug.str2intlist("[0,1,2,3]");
		HelpDebug.compare(e, this.findAllPeople(6, HelpDebug.str2array1("[[0,2,1],[1,3,1],[4,5,1]]"), 1));
	}

}
